package edu.zut.pioneer.supplier.domain;

import edu.zut.pioneer.base.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="supplier")
public class Supplier extends BaseEntity<Long> {

    @Column(name="name")
    private String name;

    public Supplier() {
    }

    public Supplier(String name) {
        this.name = name;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }
}
